import java.io.Serializable;

public class GameState implements Serializable {
    public int paddle1Y;
    public int paddle2Y;
    public double ballX;
    public double ballY;
    public double ballXSpeed;
    public double ballYSpeed;
    public int countdown;
    public boolean onColl;
    public int countX;
    public int countY;
    GameState(int paddle1Y,
                int paddle2Y,
                double ballX,
                double ballY,
                double ballXSpeed,
                double ballYSpeed,
                int countdown,
                boolean onColl,
                int countX,
                int countY) {
        this.paddle1Y = paddle1Y;
        this.paddle2Y = paddle2Y;
        this.ballX = ballX;
        this.ballY = ballY;
        this.ballXSpeed = ballXSpeed;
        this.ballYSpeed = ballYSpeed;
        this.countdown = countdown;
        this.onColl = onColl;
        this.countX = countX;
        this.countY = countY;
    }
    GameState(int paddle1Y,
              int paddle2Y){
        this.paddle1Y = paddle1Y;
        this.paddle2Y = paddle2Y;
    }

}
